package org.example.service.utils;

/**
 * Error code 常量类
 *
 * @author 胡荆陵
 * @version 1.0
 * @since 2020 8/12/20
 */
public interface ErrConst {

    String E01 = "VALIDATION_FAILED";
    String E401 = "401";

    String E02 = "GENERIC_FORMAT_EXCEPTION";

    String E03 = "FILE_UPLOAD_EXCEPTION";

    String E04 = "PARAMETER_NULL_EXCEPTION";

    String E11 = "NO_SUCH_ELEMENT_EXCEPTION";

    String E12 = "BIZ_LOGIC_NOT_MATCH_EXCEPTION";

    String E13 = "REMOTE_SERVICE_UNAVAILABLE_EXCEPTION";

    /**
     * 二维码生成异常
     */
    String E14 = "CREATE_QRCODE_EXCEPTION";

    /**
     * 设备运行中
     */
    String E15 = "DEVICE_RUNNING";


    /**
     * 第三方http请求异常
     **/
    String E20 = "THIRD_PART_HTTP_REQUEST_EXCEPTION";
}
